
let webpack = require('webpack')
let { merge } = require('webpack-merge')
let base = require('./base.config')
module.exports = merge(base, {
  mode: "production",
  devtool: 'source-map',
  plugins: [

    new webpack.DefinePlugin({
      //  提供编译阶段的全局常量
      PRODUCTION: JSON.stringify(true)
    })
  ]
})